package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContent;

import java.util.List;

public interface ContentService {

    List<TbContent> getAll();

    int insert(TbContent t);

    TbContent getById(Long id);

    int update(TbContent t);

    int delete(Long id);

    int deleteCheck(Long[] ids);

    List<TbContent> getContentByCategoryId(Integer categoryId, Integer pageSize);
}
